package com.song.JavaThread_day02.ch2_2;

public class Company implements Runnable{
	
	
	private Account account;

	public Company(Account account) {
		super();
		this.account = account;
	}

	public void run() {
		
		for(int i=0;i<1000;i++)
			
			account.addAmount(1000);
	}
	
	
}
